#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <unistd.h>
#include "user_threads.h"
#include "user_mutex.h"


int foo(void* args) {
	uthread_cancel(0);
}

int main() {
	uthread_mutex_t mutex;
	uthread_init();
	uthread_mutex_init(&mutex);
	uthread_mutex_lock(mutex);
	
	uthread_create(&foo,NULL,5);
	uthread_yield();
}
